home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
windows
/
wdj1096.zip
/
OTALA.ZIP
/
SAMPDLL.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-29
|
483b
|
26 lines
#include <windows.h>
#include "ewv.h"
HINSTANCE g_hInstance;
int CALLBACK LibMain(HINSTANCE hInst, WORD /*wDataSeg*/,
WORD /*cbHeap*/, LPSTR /*pszCmdLine*/)
{
g_hInstance = hInst;
if (IsWin95())
SetModuleExpWinVer(g_hInstance, 0x0400);
// do something else...
return (1);
}
int CALLBACK WEP(int /*fExitType*/)
{
// do something else...
if (IsWin95())
SetModuleExpWinVer(g_hInstance, 0x030a);
return (1);
}